﻿<UserControl x:Class="ApresentacaoSilverlight.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:Silverlight="clr-namespace:BrasilFramework.Controle.Silverlight;assembly=BrasilFramework.Controle.Silverlight"
             mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <StackPanel x:Name="LayoutRoot" Background="White">
        <TextBlock Text="Inteiro Positivo" />
        <Silverlight:TextBox Inteiro="{Binding Inteiro, Mode=TwoWay}" Formato="Numero" MaxLength="3" />
        <TextBlock Text="Inteiro Negativo" />
        <Silverlight:TextBox Inteiro="{Binding InteiroNegativo, Mode=TwoWay}" Formato="Numero" Negativo="True" MaxLength="4" />
        <TextBlock Text="Decimal Positivo" />
        <Silverlight:TextBox Numero="{Binding Decimal, Mode=TwoWay}" Formato="Numero" MaxLength="9" />
        <TextBlock Text="Decimal Negativo" />
        <Silverlight:TextBox Numero="{Binding DecimalNegativo, Mode=TwoWay}" Formato="Numero" Negativo="True" MaxLength="9" />
    </StackPanel>
</UserControl>
